//
//  HeadView.h
//  CarTown
//
//  Created by 熊浩 on 15/8/1.
//  Copyright (c) 2015年 熊浩. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol HeaderGridDelegate <NSObject>

-(void)click:(NSInteger)index;
-(void)HeaderImageClick:(NSInteger )index;
@end

@interface HeadView : UIView

+(instancetype)header;
@property (nonatomic,weak) id<HeaderGridDelegate> delegate;
@property (nonatomic,assign) NSInteger totalnumber;
@property (nonatomic,copy) NSArray *picarray;


@end
